package com.telit.firecommand.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhouyu
 * @description 误报火情
 */
@Data
@ApiModel("误报火情")
public class FakeFire {

    @ApiModelProperty("确认误报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date comfirmFakeTime;
    @ApiModelProperty("确认人")
    private String comfirmFakePerson;
    /**
     * 确认人单位
     */
    @ApiModelProperty(value="确认人单位")
    private String confirmUnit;
    @ApiModelProperty("误报说明")
    private String fakeDescription;

    private ConfirmFireDTO confirmFireDTO;
}
